<template>
  <ContractDetail
    showType="drawer"
    :contractId="id"
  />
</template>

<script>
import store from '@/store'
import {computed, reactive, watch, toRefs, onMounted, ref} from 'vue'
import {useRoute} from "vue-router";
import ContractDetail from "@/views/contract/ContractDetail/index.vue";


/*  mainapp 打开弹框专用  */
export default {
  components: { ContractDetail },
  setup() {
    const $route = useRoute();
    const id = ref($route.query.id);


    return {
      id,
    }
  }
}
</script>

<style lang="scss" scoped>

</style>